package com.mjk.common.core.jdbc.service.dbconver.bean;


import com.mjk.common.base.model.BaseEntity;
import com.mjk.common.core.jdbc.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ArcSharding(table="conver",userName="his")
public class BaseDbConverBean extends BaseEntity {
	public BaseDbConverBean(){
		this.pageSize=100;
	}
	@Id
	@ExampleField
	private Integer id;
	
	@Filed(comment = "转化名称")
	@ExampleField
	private String converName;
	
	@Filed(comment = "corn表达式")
	private String corn;
	
	@Filed(comment = "目标SQL")
	private String targetSql;
	
	@Filed(comment = "目标数据源")
	private String targetDataSource;
	
	@Filed(comment = "原数据到目标数据的字段转化")
	private String converParams;
	
	@Filed(comment = "条件字段")
	private String conditionParams;
	
	@Filed(comment = "原数据SQL")
	private String sourceSql;
	
	@Filed(comment = "原数据数据源")
	private String sourceDataSource;
	
	@Filed(comment = "状态")
	private String status;	
	/**
	 * ITableConver 转化类名称
	 */
	@Filed(comment = "转化类")
	private String conver;
	
	@Transient(insertField=false)
	private int pageSize;
		
}
